package com.hn658.base.message.account.entity;

import java.util.Date;

import com.hn658.framework.shared.entity.BaseEntity;
import com.hn658.framework.shared.entity.IUser;
/**
 * 后台用户实体类
 */
public class AccountUserInfoEO extends BaseEntity implements IUser{
	
	private static final long serialVersionUID = 4290544592708981367L;
	private String nickName;	//姓名
	private String avatarURL;  //图片路径
	private String userId;  //用户id
	private String appKey;  //app端key
	private Date createTime;	//创建时间
	private Date lastUpdateTime;   //最后更新日期
	private Boolean isDeleted;  //是否删除
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getAvatarURL() {
		return avatarURL;
	}
	public void setAvatarURL(String avatarURL) {
		this.avatarURL = avatarURL;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}
	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}
	public Boolean getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(Boolean isDeleted) {
		this.isDeleted = isDeleted;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getAppKey() {
		return appKey;
	}
	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}
	@Override
	public String getLoginAccount() {
		return appKey+"_"+userId;
	}
	
}
